I tried for a really clever 1/6P solution, but I could not make all the necessary conditionals work, so I gave up and make this dumb 1/3P one.